﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DFGK_WMS.Context.Migrations
{
    public partial class 出库单明细新增字段 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "CachePortCode",
                table: "T_ShippingLockCell",
                type: "nvarchar(50)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "PackCode",
                table: "T_ShippingLockCell",
                type: "nvarchar(50)",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "Status",
                table: "T_ShippingLockCell",
                type: "int",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "CachePortCode",
                table: "T_ShippingLockCell");

            migrationBuilder.DropColumn(
                name: "PackCode",
                table: "T_ShippingLockCell");

            migrationBuilder.DropColumn(
                name: "Status",
                table: "T_ShippingLockCell");
        }
    }
}
